x86: suppress warning messages on IO-APIC-less systems
authorJan Beulich <jbeulich@suse.com>
Tue, 17 Apr 2012 13:37:05 +0000 (15:37 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 17 Apr 2012 13:37:05 +0000 (15:37 +0200)
commit5768aa97b54a3539c495787374bf5e5863370db1
treeff4192f83bad93bdea79448bb4fbab4fa1c21ebd
parent98729f42a0db6d402bc01d5c73c7a992227ed711
x86: suppress warning messages on IO-APIC-less systems

Each call to mp_register_gsi() so far produced two warnings (about not
being able to find the corresponding IO-APIC pin).

However, we should use the provided information for setting the ELCR
correctly (we might want to even do this when there is an IO-APIC, if
was absolutely certain that all machines really have this register
[and specifically not some other device at the two I/O ports in
question]). It is in any case questionable that we allow Dom0 to set
this register - it could particularly be the interrupt of a plug-in
serial port card that might not work due to this. The problem is that
all Dom0 kernels to date do so, hence we can't simply #GP on such an
access (which would be the result if we disallowed access to the port
as we should have done from the beginning).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/mpparse.c